package com.atguigu.sugar.service;

import com.atguigu.sugar.bean.Visitor;
import com.atguigu.sugar.mapper.VisitorMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class VisitorServiceImpl implements VisitorService {
    
    @Autowired
    VisitorMapper visitor;
    @Override
    public List<Visitor> statsByHour(int date) {
        return visitor.statsByHour(date);
    }
}
